package com.dy.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * @Author: dy
 * @date: 2024/5/7 13:14
 * @ClassDescription:
 */
@Data
@Accessors(chain = true)
public class UserLoginDTO {

    @ApiModelProperty(value = "账号名称")
    @NotBlank(message = "账号名称不能为空")
    private String userName;

    @ApiModelProperty(value = "密码")
    @NotBlank(message = "密码不能为空")
    private String password;
}
